import xyz.scoder.LowerCaseInputStream;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class Test {
    public static void main(String[] args) {
        try {
            LowerCaseInputStream lowerCaseInputStream = new LowerCaseInputStream(new FileInputStream(new File("test.txt")));
            try {
                int read;
                while((read = lowerCaseInputStream.read()) > -1) {
                    System.out.print((char)read);
                }
            } catch (IOException e) {
                e.printStackTrace();
            }
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }
    }
}
